package com.entity;

public class Subject2 {

    private Integer id;

    private String name;

    private Integer classhour;

    private Integer gid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getClasshour() {
        return classhour;
    }

    public void setClasshour(Integer classhour) {
        this.classhour = classhour;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    @Override
    public String toString() {
        return "Subject2{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", classhour=" + classhour +
                ", gid=" + gid +
                '}';
    }
}
